package com.cctcq.domain;

import java.sql.Timestamp;

/**
 * ExhibitionNewsPicture entity. @author MyEclipse Persistence Tools
 */

public class ExhibitionNewsPicture implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 8374602050516957489L;
	private String exhibitionNewsPictureId;
	private ExhibitionNews exhibitionNews;
	private String pictureUrl;
	private Timestamp createDate;

	// Constructors

	/** default constructor */
	public ExhibitionNewsPicture() {
	}

	/** minimal constructor */
	public ExhibitionNewsPicture(String exhibitionNewsPictureId,
			Timestamp createDate) {
		this.exhibitionNewsPictureId = exhibitionNewsPictureId;
		this.createDate = createDate;
	}

	/** full constructor */
	public ExhibitionNewsPicture(String exhibitionNewsPictureId,
			ExhibitionNews exhibitionNews, String pictureUrl,
			Timestamp createDate) {
		this.exhibitionNewsPictureId = exhibitionNewsPictureId;
		this.exhibitionNews = exhibitionNews;
		this.pictureUrl = pictureUrl;
		this.createDate = createDate;
	}

	// Property accessors

	public String getExhibitionNewsPictureId() {
		return this.exhibitionNewsPictureId;
	}

	public void setExhibitionNewsPictureId(String exhibitionNewsPictureId) {
		this.exhibitionNewsPictureId = exhibitionNewsPictureId;
	}

	public ExhibitionNews getExhibitionNews() {
		return this.exhibitionNews;
	}

	public void setExhibitionNews(ExhibitionNews exhibitionNews) {
		this.exhibitionNews = exhibitionNews;
	}

	public String getPictureUrl() {
		return this.pictureUrl;
	}

	public void setPictureUrl(String pictureUrl) {
		this.pictureUrl = pictureUrl;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

}